package com.bw.seckill_module.seckillvalues;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bw.common.mvvm.view.BaseActivity;
import com.bw.seckill_module.BR;
import com.bw.seckill_module.R;
import com.bw.seckill_module.databinding.ActivitySkillvalueBinding;
import com.bw.seckill_module.entity.GoodsEntity;
@Route(path = "/seckill/seckillvalueactivity")
public class SecKillValueActivity extends BaseActivity<ActivitySkillvalueBinding,SecKillValueViewModel> {

    @Override
    public int bindLayout() {
        return R.layout.activity_skillvalue;
    }

    @Override
    public int vrId() {
        return BR.vm;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        GoodsEntity entity = (GoodsEntity) getIntent().getBundleExtra("bundle").getSerializable("goodsvalue");
        vm.bean.set(entity);
    }
}
